QT += quick quick sql serialport quickwidgets xml svg multimedia axcontainer charts quickcontrols2 gui-private \
    widgets charts printsupport

CONFIG += c++11 resources_big

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Refer to the documentation for the
# deprecated API to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0




SOURCES +=\
        CommCommand.cpp \
        CommonHelper.cpp \
        CommunicationMethod.cpp \
        DbHelper.cpp \
        ExperimentThread.cpp \
        GetMessageInterface.cpp \
        LogHelper.cpp \
        MaintenanceAndCorrection.cpp \
        QmlSignal.cpp \
        SpeechModuleThread.cpp \
        StatMaint.cpp \
        Tcpclient.cpp \
        Thread/DataSerialportClient.cpp \
        Thread/SerialportThread.cpp \
        UdpClient.cpp \
        animation/animationController.cpp \
        animation/animationManager.cpp \
        animation/animationParseExeConfig.cpp \
        animation/animationParseHEX.cpp \
        animation/animationState.cpp \
        animation/instruction.cpp \
        animation/pipeFluid.cpp \
        animation/pipeGraph.cpp \
        animation/step.cpp \
        animation/syringeCalculator.cpp \
        animation/treeNode.cpp \
        barCodeManager.cpp \
        camera/cameraProvider.cpp \
        chromatogram/ChromatogramManager.cpp \
        chromatogram/algorithm.cpp \
        chromatogram/chromatogramChart.cpp \
        chromatogram/customChart.cpp \
        debugLog.cpp \
        defaultset.cpp \
        execonfig.cpp \
        exportReport/printerManager.cpp \
        licenseManager/AES/qaesencryption.cpp \
        licenseManager/crypto.cpp \
        licenseManager/licenseManager.cpp \
        main.cpp \
        exportReport/excelExporter.cpp \
        exportReport/reportInterface.cpp \
        exportReport/reportManager.cpp \
        exportReport\wordExporter.cpp \
        qmllanguage.cpp \
        updateExe.cpp

RESOURCES += qml.qrc \
    Resources.qrc \
    wordTemplate.qrc \
    translator.qrc \

TRANSLATIONS += \
    zh_CN.ts \
    en_us.ts

include(./src/xlsx/qtxlsx.pri)
INCLUDEPATH += exportReport
INCLUDEPATH += animation

RC_ICONS = logo.ico

# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =

# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

HEADERS += \
    CommCommand.h \
    CommonHelper.h \
    CommunicationMethod.h \
    DbHelper.h \
    ExperimentThread.h \
    GetMessageInterface.h \
    LogHelper.h \
    MaintenanceAndCorrection.h \
    QmlSignal.h \
    SpeechModuleThread.h \
    StatMaint.h \
    Tcpclient.h \
    Thread/DataSerialportClient.h \
    Thread/SerialPortThread.h \
    UdpClient.h \
    animation/animationController.h \
    animation/animationManager.h \
    animation/animationParseExeConfig.h \
    animation/animationParseHEX.h \
    animation/animationState.h \
    animation/instruction.h \
    animation/pipeFluid.h \
    animation/pipeGraph.h \
    animation/step.h \
    animation/syringeCalculator.h \
    animation/treeNode.h \
    barCodeManager.h \
    camera/cameraProvider.h \
    chromatogram/algorithm.h \
    chromatogram/chromatogramChart.h \
    chromatogram/chromatogramManager.h \
    chromatogram/customChart.h \
    debugLog.h \
    defaultset.h \
    execonfig.h\
    exportReport/excelExporter.h \
    exportReport/printerManager.h \
    exportReport/reportInterface.h \
    exportReport/reportManager.h \
    exportReport\wordExporter.h \
    licenseManager/AES/aesni/aesni-enc-cbc.h \
    licenseManager/AES/aesni/aesni-enc-ecb.h \
    licenseManager/AES/aesni/aesni-key-exp.h \
    licenseManager/AES/aesni/aesni-key-init.h \
    licenseManager/AES/qaesencryption.h \
    licenseManager/crypto.h \
    licenseManager/licenseManager.h \
    qmllanguage.h \
    updateExe.h


LIBS += -L$$PWD/HKCamera/lib/ -lHCCore
LIBS += -L$$PWD/HKCamera/lib/ -lHCNetSDK

INCLUDEPATH += $$PWD/HKCamera
DEPENDPATH += $$PWD/HKCamera

